package com.shixu.framework.plugins.weixin.util;

public class WeixinConstant {

	/** 微信发送客服消息接口*/
	public static final String SEND_MSG_URL = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN";
	
	// 获取access_token的接口地址（GET） 限200（次/天）
	public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	public final static String jsapi_ticket_url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=";
	public final static String api_ticket_url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=wx_card&access_token=";
	
	public static final String PAYFEEDBACK_URL = "https://api.weixin.qq.com/payfeedback/update";
	public static final String DEFAULT_HANDLER = "com.gson.inf.DefaultMessageProcessingHandlerImpl";
	public static final String GET_MEDIA_URL= "http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=";
	public static final String UPLOAD_MEDIA_URL= "http://file.api.weixin.qq.com/cgi-bin/media/upload?access_token=";
	
	public static final String SHORT_URL = "http://vwz.me/API.php";
	
	public static final String ACCESSTOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential";
	
	public static final String ACTION_L2S = "long2short";
	
	public static final String PREPAY_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	
	public static final String TEMPLATE_SEND_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";
	
	/** 卡券颜色列表 */
	public static final String CARD_COLORS = "https://api.weixin.qq.com/card/getcolors?access_token=";

	/** 卡券核销 */
	public static final String CARD_CONSUME = "https://api.weixin.qq.com/card/code/consume?access_token=";
	
	/** 卡券解密 */
	public static final String CODE_DECRYPT = "https://api.weixin.qq.com/card/code/decrypt?access_token=";
	
	/** 卡券删除 */
	public static final String CARD_DELETE = "https://api.weixin.qq.com/card/delete?access_token=";
	
	/** 卡券详情 */
	public static final String CARD_DETAIL = "https://api.weixin.qq.com/card/get?access_token=";
	
	/** 卡券修改 */
	public static final String CARD_UPDATE = "https://api.weixin.qq.com/card/update?access_token=";
	
	/** 卡券创建 */
	public static final String CARD_CREATE = "https://api.weixin.qq.com/card/create?access_token=";
	
	/** 卡券的code的有效性 */
	public static final String CARD_CODE_ISECFFECTIVE = "https://api.weixin.qq.com/card/code/get?access_token=";
}
